# 正三角形
num1 = 0
while num1 <= 6:
    a = 0
    while a <=num1:
        print("❤", end="")
        a += 1
    print()
    num1 += 1

print("*" * 20)

# 倒三角形
num1 = 0
while  num1 <=6:
    a = 6
    while num1 <=a:
        print("❤", end="")
        a-=1
    print()
    num1 += 1

